package com.khyr.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.khyr.entity.HealthPatientResult;
import com.khyr.entity.HealthTestDetail;
import com.khyr.entity.HealthTestList;
import com.khyr.entity.HisPatient;
import com.khyr.vo.GetTestResultVo;
import com.khyr.vo.R;

import java.util.List;

public interface HealthService {
    R<List<HealthTestList>> getAllHealthTest();

    R<List<HealthTestDetail>> getHealthTestById(String htId);

    R<GetTestResultVo> getTestResult(List<HealthTestDetail> healthTestDetails, HisPatient patient);

    R<GetTestResultVo> getTestResultFPA(List<HealthTestDetail> healthTestDetails, HisPatient patient);

    R<Page<HealthPatientResult>> getTestHistory(HisPatient patient, Integer current, Integer size);
}
